﻿<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Pragma" content="no-cache">
<link rel="STYLESHEET" type="text/css" id="SkinStyleSheet">
<title>WebNoteEditor</title>
<script language="javascript" type="text/javascript" src="../script/windialog.js"></script>
<script language="javascript">
window.onload=function()
{
	document.getElementById("InputOptionText").value=EditorWindow.getUrlArgment("optiontext",document);
	document.getElementById("InputOptionValue").value=EditorWindow.getUrlArgment("optionvalue",document);
	AutoResizeDialogWindow();
}

function __btnOk_onclick()
{
	window.returnValue=new Array(document.getElementById("InputOptionValue").value,document.getElementById("InputOptionText").value);
	window.close();
}


function __btnCancel_onclick()
{
	window.close();
}
</script>
</head>

<body class="dialog">
<script language="javascript" type="text/javascript">
if (EditorWindow.getUrlArgment("optiontext",document)=="")
	dialogTitle("lang_addoption");
else
	dialogTitle("lang_modifyoption")
</script>


<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>
      <fieldset><legend><script language="javascript" type="text/javascript">dialogPrintlang("lang_option_attribute")</script></legend>
      <table border="0" cellpadding="0">
        <tr>
          <td><script language="javascript" type="text/javascript">dialogPrintlang("lang_value")</script></td>
          <td><input type="text" id="InputOptionValue" size="39" class="dialogInput"></td>
        </tr>
        <tr>
          <td><script language="javascript" type="text/javascript">dialogPrintlang("lang_text")</script></td>
          <td><input type="text" id="InputOptionText" size="39" class="dialogInput"></td>
        </tr>
      </table>
      </fieldset>
    </td>
  </tr>
</table>
<div class="buttons">
	<hr size="1" color="#B3AC9D">
	<script language="javascript" type="text/javascript">
		PrintButtons2();
	</script>
</div>

</body>

</html>
